package cms.api;

import cms.model.MemberReadAnnouncement;

import java.util.List;

/**
 * Created by xhz on 2016/11/23.
 * 已读公告api
 */
public interface MemberReadAnnouncementApi {

    /**
     * 根据用户id查询已读公告
     * @param userId
     * @return
     */
    public List<MemberReadAnnouncement> getReadAnnounceListByReadId(String readId);
    public List<MemberReadAnnouncement> getReadAnnounceByUserId(String userId);
    public MemberReadAnnouncement getReadAnnounceByReadId(String readId);
    public MemberReadAnnouncement updateIsRead(MemberReadAnnouncement memberReadAnnouncement);
    public String toString();
}
